package test

import (
	"github.com/jinzhu/gorm"
	"managementsystem/conn"

	"managementsystem/structs"
)

//个人情况查询，查询简历
func Select_one_info_view(db *gorm.DB, data structs.S) structs.S{
	var Result structs.S
	err := db.Table("infosearch").Where("sno=?",data.Sno).Find(&Result).Error
	conn.ErrCheck(err)
	//fmt.Printf("%#v", Result)
	return Result
}
